Skip to content

Cut the US overnight auction book; weekly review of the sheet book - #45

Merged
ASCoding11 merged 1 commit into
mainfrom
claude/keen-tesla-shs956
Nov 28, 2026
Merged

ASCoding11 merged 1 commit into
mainfrom
claude/keen-tesla-shs956

Conversation

@ASCoding11

Copy link
Copy Markdown
Owner

Cut the overnight book (at the user's request): auction_overnight_weight: 0 in config/sheet_book.json. The US overnight auction book lost $100.03 over 26 days (10 up, live Sharpe about -1.9) and accounted for most of the book's loss. From Monday's run the auction sleeve opens no overnight positions; Friday's book still settles at Monday's open. The ADR book (+$58 since its fix on Nov 19) keeps trading on the sleeve's capital. The weight scales tonight's book, so the review can also halve it.

Weekly review (qtrade/intraday/weekly_review.py, weekly-review.yml, Saturdays 14:17 UTC): reads each sleeve's daily log in the sheet and compares its live annualised Sharpe S over n days with the backtest Sharpe B in config/review.json (0 bp, latest test period of each study). z = (S - B)·√(n/252). There's no verdict before 40 live days; after that, cut at z ≤ -2, halve at z ≤ -1, otherwise keep. Results go to a new "Weekly review" tab, with weekly history below. It only proposes; changes to the book go in by PR. The two $0 trackers are listed for information.

Tests: tests/test_weekly_review.py (stats, the verdict rule, reading each tab's log). The full suite passes.


Generated by Claude Code

- config/sheet_book.json: auction_overnight_weight 0. From Monday the
  auction sleeve opens no overnight book (Friday's book still settles at
  Monday's open); the ADR book keeps the sleeve's capital.
- qtrade/intraday/weekly_review.py + weekly-review.yml (Saturdays): each
  sleeve's live Sharpe vs its backtest (config/review.json), z = (S - B) *
  sqrt(n/252); no verdict before 40 live days, then cut at z <= -2, halve
  at z <= -1. Results go to a 'Weekly review' tab; changes go in by PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NsPrq53XXinQsUZsWqeKht
@ASCoding11
ASCoding11 merged commit cba077d into main Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants